*Replication file for Rikhil R. Bhavnani and Bethany Lacina, 2018, Nativism and Economic Integration across the Developing World, Cambridge University Press. Tables 5 and 6.

global controls indpop_t0 lpopdenRVC_t0 lnigdppercapppp lpopRVC
global controls2  poverty_t0 lleftshar_t0 dm_t1

*Model 1
areg lindshare lmigto $controls, absorb(cntry) cl(cntry)

*Model 2
areg lindshare lmigto $controls $controls2, absorb(cntry) cl(cntry)

*Model 3
areg lindshare lmigpoldecent1 lmigpoldecent0 $controls $controls2, absorb(cntry) cl(cntry)
test lmigpoldecent1=lmigpoldecent0
